<?php
/**
 *
 * @user: leo
 * @date: 2021/6/22
 * @createTime: 15:11
 * @company: 迈酷网络科技 http://www.maicooit.com
 */
namespace app\admin\logic\user;

use app\BaseController;
use app\admin\model\Domains as DomainsModel;

class Domains extends  BaseController {
    //租户列表
    public static function DomainsListLogic($key,$page,$pagesize){
        $domain = new DomainsModel();
        $list = $domain->DomainListModel($key,$page,$pagesize);
        return $list;
    }
    //租户新增
    public static function DomainsAddLogic($info){
        $domain = new DomainsModel();
        $res = $domain->insertGetId($info);
        return $res;
    }
    //租户编辑
    public static function RoleSaveLogic(){
    }
    //租户禁用
    public static function RoleDisableEableLogic(){
    }
    //租户删除
    public static function RoleDelLogic(){
    }
}